export const indexData = {
  columns: [
    { label: '菜谱名称', prop: 'id' },
    { label: '创建人', prop: 'company_name' },
    { label: '创建时间', prop: 'audit_status' },
    { label: '状态', prop: 'company_address', slot: true },
    { label: '用户', prop: 'real_name' },
    { label: '备注', prop: 'mobile' },
  ],
  tableData: [
    { id: '希望小学营养餐', company_name: '菜东家', audit_status: '2024-10-31 10:30:00', company_address: 0, real_name: '希望小学', mobile: '上学期营养餐' },
    { id: '希望小学营养餐', company_name: '菜东家', audit_status: '2024-11-12 10:50:00', company_address: 1, real_name: '希望小学', mobile: '上学期营养餐' },
  ],
  formList: [
    { label: '注册人', placeholder: '注册人', value: 'company_name', type: 'input' },
    { label: '区域', placeholder: '请输入区域', value: 'end_time', type: 'input' },
  ],
  formValue: {
    company_name: '',
    end_time: '',
    real_name: '',
  },
  tabsList: [
    { label: '全部', num: 2000, name: 'all', key: 'all_total' },
    { label: '已审核', num: 1600, name: '0', key: 'audit_total' },
    { label: '待审核', num: 20, name: '1', key: 'pass_total' },
    { label: '生效', num: 20, name: '2', key: 'refuse_total' },
  ]
}

export const detailData = {
  infoList: [
    { title: '用户资料', list: [
      { label: '机构名称', value: '', key: 'company_name', span: 6 },
      { label: '公司地址', value: '', key: 'company_address', span: 6 },
      { label: '联系人', value: '', key: 'real_name', span: 6 },
      { label: '手机号', value: '', key: 'mobile', span: 6 },
      // { label: '经营品类', value: '', key: '', span: 6 },
      { label: '注册时间', value: '', key: 'register_time', span: 6 },
      { label: '申请人', value: '', key: 'apply_name', span: 6 },
      { label: '申请日期', value: '', key: 'apply_time', span: 6 },
      // { label: '用户状态', value: '', key: '', span: 6 },
      { label: '审核意见', value: '', key: 'audit_remark', span: 6 },
      { label: '备注', value: '', key: '', span: 6 },
    ] },
    { title: '管理员信息', list: [
      { label: '姓名', value: '', key: 'real_name', span: 6 },
      { label: '身份证号码', value: '', key: 'id_card_no', span: 6 },
      { label: '证件有效期', value: '', key: 'id_card_start_date', key2: 'id_card_end_date', span: 6 },
      { label: '身份证照片', value: '', key: '', span: 16, imageList: ['id_card_front', 'id_card_back'] },
    ] },
    { title: '法人信息', list: [
      { label: '姓名', value: '', key: 'corporation_real_name', span: 6 },
      { label: '身份证号码', value: '', key: 'corporation_id_card_no', span: 6 },
      { label: '证件有效期', value: '', key: 'corporation_id_card_start_date', key2:'corporation_id_card_end_date', span: 6 },
      { label: '身份证照片', value: '', key: '', span: 16, imageList: ['corporation_id_card_front', 'corporation_id_card_back'] },
    ] },
    { title: '食品经营许可证', list: [
      { label: '证件编号', value: '', key: 'license_no', span: 6 },
      { label: '社会统一信用代码', value: '', key: 'license_code', span: 6 },
      { label: '法定代表人', value: '', key: 'license_corporation', span: 6 },
      { label: '证件有效期', value: '', key: 'license_date', span: 6 },
      { label: '证件照', value: '', key: '', span: 16, imageList: ['license'] },
    ] },
    { title: '健康证', list: [
      { label: '证件编号', value: '', key: 'health_card_no', span: 6 },
      { label: '姓名', value: '', key: 'health_card_real_name', span: 6 },
      { label: '证件有效期', value: '', key: 'health_date', span: 6 },
      { label: '证件照', value: '', key: '', span: 16, imageList: ['health_card'] },
    ] },
    { title: '中标通知书/合同', list: [
      { label: '中标/合同编号', value: '', key: 'contract_no', span: 6 },
      { label: '中标主体', value: '', key: 'school_id', span: 6 },
      { label: '中标日期', value: '', key: 'contract_date', span: 6 },
      { label: '证件照', value: '', key: '', span: 16, imageList: ['contract'] },
    ] }
  ]
}